<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%-- <!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>出账记录查询</title>
	<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/js/easyui/themes/default/easyui.css">
	<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/js/easyui//themes/icon.css">
	<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/js/easyui/demo/demo.css">
	<script type="text/javascript" src="${pageContext.request.contextPath}/js/easyui/jquery.min.js" ></script>
	<script type="text/javascript" src="${pageContext.request.contextPath}/js/easyui/jquery.easyui.min.js"></script>
	<script type="text/javascript">
	    
	function getData() {
		var url = "${pageContext.request.contextPath}/monthfee/checkone.do";
		var data = {phnumber:$('#phonenum').val()}
		$.post(url,data,function(res){
			var json = JSON.parse(res);
			alert(json);
			$('#tablecorp').datagrid('loadData',json)
			$('#tablecorp').datagrid('reload'); 
		})
	}
	</script>
</head>
<body> --%>
	<h2>出账记录查询</h2>
	<div>
	<input id="phonenum" type="text" />
	<input id="btnsub" type="submit" value="查询" onclick="getData()">	
	</div>
	<table id="tablecorp" class="easyui-datagrid" title=" " style="width:700px;height:250px"
			data-options="singleSelect:true,collapsible:true">
		<thead>
			<tr>
				<th data-options="field:'monthfeeid',width:80,halign:'center'">月租信息编号</th>
				<th data-options="field:'dataid',width:80,halign:'center'">计费单号</th>
				<th data-options="field:'servicetype',width:80,align:'right',halign:'center'">业务类型</th>
				<th data-options="field:'phonenumber',width:80,align:'right',halign:'center'">用户号码</th>
				<th data-options="field:'resourcecode',width:80,halign:'center'">对象编码</th>
				<th data-options="field:'datatype',width:200,align:'center',halign:'center'">月租类型</th>
				<th data-options="field:'billfee',width:80,align:'center',halign:'center'">月租费</th>
				<th data-options="field:'begintime',width:80,align:'center',halign:'center'">本月月租开始时间</th>
				<th data-options="field:'endtime',width:80,align:'center',halign:'center'">本月月租截止时间</th>
				<th data-options="field:'writetime',width:90,align:'center',halign:'center'">当前收取月租时间</th>
				<th data-options="field:'sendphonenumber',width:90,align:'center',halign:'center'">赠送方号码</th>
				<th data-options="field:'operateid',width:200,align:'center',halign:'center'">操作编号</th>
				<th data-options="field:'movetime',width:90,align:'center',halign:'center'">转储时间</th>
				<th data-options="field:'content',width:80,align:'center',halign:'center'">内容</th>
				<th data-options="field:'datastatus',width:80,align:'center',halign:'center'">数据状态</th>
				<th data-options="field:'dataindex',width:110,align:'center',halign:'center'">数据批号</th>
				<th data-options="field:'loopcount',width:120,align:'center',halign:'center'">收费失败次数</th>
				<th data-options="field:'latestfailtime',width:100,align:'center',halign:'center'">最近一次收费失败时间</th>
				<th data-options="field:'latestfailreason',width:100,align:'center',halign:'center'">最近一次收费失败原因</th>
				<th data-options="field:'localid',width:100,align:'center',halign:'center'">地区编号</th>
				<th data-options="field:'brandid',width:100,align:'center',halign:'center'">品牌编号</th>
				<th data-options="field:'netkind',width:100,align:'center',halign:'center'">网络类型</th>
				<th data-options="field:'paykind',width:100,align:'center',halign:'center'">付费类型</th>
				<th data-options="field:'chargeflag',width:100,align:'center',halign:'center'">计费方式</th>
				<th data-options="field:'usdpip',width:100,align:'center',halign:'center'">USDP所在机器的IP地址</th>
			</tr>
		</thead>
	</table>
<!-- 
</body>
</html> -->

